Do not send heartbeat when web socket connection not open
Merge pull request #95 from happy-inspector/fix/websocket-heartbeat

Do not send heartbeat when web socket connection not open