Cosmetic
Ensure that we rollback any current transaction to release any locks before closing the connections to an inactive database.
This is necessary if the connection is pooled.