def stop(self):
with self.synclock:<EOL><INDENT>if self.syncthread is not None:<EOL><INDENT>self.syncthread.cancel()<EOL>self.syncthread = None<EOL><DEDENT><DEDENT>
Stops the background synchronization thread