# File lib/active_support/vendor/memcache-client-1.5.0/memcache.rb, line 819 def close @mutex.lock if @multithread @sock.close if @sock && !@sock.closed? @sock = nil @retry = nil @status = "NOT CONNECTED" ensure @mutex.unlock if @multithread end