Fix for dbapi connections dropping sometimes (makes the pool reconnect)