A patched version of the SQLAlchemy default QueuePool, which fixes the occasional database connection errors on MySQL backend