I removed the call to check if the connection is open before we send commands.  I don't think the websocket actually always knows if it connection is actually open.  So we will try to send commands no matter what the connection state is.
Merge branch 'master' of github.com:ifit/Java-WebSocket