test_storage: Close all pool connections on teardown
This avoids having a race condition between the tear down and the database removal, when using more than one connection in the pool.
Test Plan
tox runs without failing
Migrated from D2064 (view on Phabricator)