ProfileManager should be closed to put connections back in pool.