Sends a Command to the gateway, suspending until the message has been sent.
The Command to send to the gateway.
when the gateway connection isn't open.