@call_sync<EOL><INDENT>def close(self, proto):<EOL><DEDENT>
try:<EOL><INDENT>proto.sendClose()<EOL><DEDENT>except Exception as ex:<EOL><INDENT>logger.exception("<STR_LIT>")<EOL>proto.reraise(ex)<EOL><DEDENT>
Closes a connection