prevent the client from sending a HEARTBEAT after sending the CONNECT frame