Options of Bot.stop.
Optional
Wait for in-flight sends to complete before stopping (default false).
false
Max time to wait for the drain before forcing the stop: a duration ('5s') or ms. Default 10000.
'5s'
10000
Options of Bot.stop.