Allow reconnection while cleaning inserted tables

When the application uses multiple database connections, a connection
pool used in test could be already removed (i.e., pool.connected? = false).
In this case, we have to reconnect to the database to clean inserted
tables.