public void TearDown() { heartRateMonitorUUID?.Dispose(); mgrDelegate?.Dispose(); // make sure that our delegate does not get messages after the mgr was disposed mgr?.Dispose(); }