def run
      raise 'Already running' if @running
      @stop = false
      @running = true
      begin
        until @stop
          mainloop
        end
      ensure
        File.unlink(@socket) if @socket
        @ios.each{ |io| io.close rescue nil }
      end
    end
def run
      raise 'Already running' if @running
      @stop = false
      @running = true
      begin
        until @stop
          mainloop
        end
      ensure
        File.unlink(@socket) if @socket
        @ios.each{ |io| io.close rescue nil }
      end
    end
Run the server

 @note This method blocks!