code: def _init_connection(self):
          
          try:
              # We are changing self.is_ready: lock it up!
              self._lock.acquire()
  
              response = bytearray(22)
              self._send_raw(BRIDGE_INITIALIZATION_COMMAND)
              self._socket.recv_into(response)
              self._wb1 = response[19]
              self._wb2 = response[20]
              self.is_ready = True
          except (socket.error, socket.timeout):
              # Connection timed out, bridge is not ready for us
              self.is_ready = False
          finally:
              # Prevent deadlocks: always release the lock
              self._lock.release()
  
          return self.is_ready
docs: Requests the session ids of the bridge.
          :returns: True, if initialization was successful. False, otherwise.