# File lib/jabber4r/protocol.rb, line 210
      def close
        @parserThread.kill if @parserThread
        @pollThread.kill
        @socket.close if @socket
        @status = DISCONNECTED
      end