Do not send heartbeat when web socket connection not open