code: public void stop() {
          if (mMonitorStarted) {
              mMonitorStarted = false;
              Looper.getMainLooper().setMessageLogging(null);
              mBlockCanaryCore.stackSampler.stop();
              mBlockCanaryCore.cpuSampler.stop();
          }
      }
docs: Stop monitoring.