fixed the pool recyle for sqlalchemy