<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def stop_listener_thread(self):
 """ Stop listener thread running in the background """

        if self.sync_thread:
            self.should_listen = False
            self.sync_thread.join()
            self.sync_thread = None