Heartbeat to keep mapper alive, and handle pre-emptive scheduling.