make heartbeats globally cancellable