<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def Close(self):
 		""" 		Commits and closes the current connection 		 		@author: Nick Verbeck 		@since: 5/12/2008 		"""

		if self.connection is not None:
			try:
				self.connection.commit()
				self.connection.close()
				self.connection = None
			except Exception, e:
				pass