Ensure DB connection clean up