Heartbeat is sent after main job as it is becoming time consuming