Fix to mongostores TTL error, improved mongos connection handling