Stop trying to send data when not connected