Fix a bug in reclaim_call_outs.
Unified callout, heartbeat, and various cleanup funcitons into tick_event loop.