(TransientDatabase.close): Set self.conn to None after closing the connection to make sure it's not closed twice