removed redundant starting and stopping of heartbeat timertask