# File lib/mongo/mongo_client.rb, line 504 def close @primary_pool.close if @primary_pool @primary_pool = nil @primary = nil end