Stub for heatbeater daemon
1. Close heartbeat socket after each beat.  2. Use pid lock files