Heartbeat handling in manager done.
Delete function updated