def close(self):
if not self.connected: return True<EOL>self._close()<EOL>self.connected = False<EOL>self.log("<STR_LIT>", self.connection_config.interface_name)<EOL>return True<EOL>
close an open connection