# File lib/daemons/monitor.rb, line 116
    def stop
      Process.kill('TERM', @pid.pid) rescue nil
      
      # We try to remove the pid-files by ourselves, in case the application
      # didn't clean it up.
      @pid.cleanup rescue nil
    end