# File lib/jabber4r/protocol.rb, line 210 210: def close 211: @parserThread.kill if @parserThread 212: @pollThread.kill 213: @socket.close if @socket 214: @status = DISCONNECTED 215: end