setting the heartbeat interval to 8 seconds