# File monit/lib/symbiosis/monitor/process.rb, line 73
        def stop
          do_initscript("stop")

          @sleep.times do
            begin
              # check the PID but do nothing. We're only going to do this a
              # maximum of @sleep times.  Programme has stopped if the PID is
              # nil.
              #
              break if self.pid.nil?
              sleep 1
            rescue ArgumentError, Errno::ESRCH
              break
            end
          end 
        end