rename heartbeat to keepAlive