code: def close(self):
          
          try:
              self.conn.close()
              self.logger.debug("Close connect succeed.")
          except pymssql.Error as e:
              self.unknown("Close connect error: %s" % e)
docs: Close the connection.