Client no longer crashes attempting to send message to a just-disconnected server