Added heartBeat function to ServerHandle