Closing the connection at this point will disallow subsequent queries.

There is no reason to commit at this point, we are not changing the state of the database.