def stop(self, force=False):
if self._initialized:<EOL><INDENT>self.send(C1218TerminateRequest())<EOL>data = self.recv()<EOL>if data == b'<STR_LIT:\x00>' or force:<EOL><INDENT>self._initialized = False<EOL>self._toggle_bit = False<EOL>return True<EOL><DEDENT><DEDENT>return False<EOL>
Send a terminate request.

:param bool force: ignore the remote devices response