code: def deinit(self):
          
          # Clean up after ourselves
          self._process.terminate()
          procs.remove(self._process)
          self._mq.remove()
          queues.remove(self._mq)
docs: Deinitialises the PulseIn and releases any hardware and software
          resources for reuse.