stop method

dynamic stop()

Implementation

stop() {
  Flagship.logger(Level.DEBUG, "Stop polling");
  if (timer.isActive) {
    timer.cancel();
  }
}