@heartbeats_timer may be nil