[network] Implemented class HeartbeatThread