Checks to make sure that TogetherJS is running before trying to send messages.