Shuts the node down. Returns immediately.
whether the node will wait for pending flows to be completed before exiting. While draining, new flows from RPC will be rejected.