Added heartbeats to the server