'Stop reader thread only, wait for clean exit of thread'

def _stop_reader(self):

    self._reader_alive = False
    if hasattr(self.serial, 'cancel_read'):
        self.serial.cancel_read()
    self.receiver_thread.join()
