Google

# File jabber4r/protocol.rb, line 207

      def close

        @parserThread.kill if @parserThread

        @pollThread.kill

        @socket.close if @socket

        @status = DISCONNECTED

      end