Wrap the two-db shutdown call in a with-connection to ensure the correct
connection is used when shutting down an hsql instance