This causes failure in a subsequent call to subscribe() as reported [here](https://github.com/micropython/micropython/issues/2268#issuecomment-236377550). The following (tested) fix is one option: ``` python def check_msg(self): self.sock.setblocking(False) result = self.wait_msg() self.sock.setblocking(True) return result ```
This causes failure in a subsequent call to subscribe() as reported here. The following (tested) fix is one option: