fix for sending while not connected