protected override void PostStop() { base.PostStop(); _heartbeatCancelable.Cancel(); if (_refreshContactsCancelable != null) { _refreshContactsCancelable.Cancel(); _refreshContactsCancelable = null; } }