Thread local database instance is cleared after release to pool.