Update isConnected() for support MongoClient (mongo > 1.3.0)