python client: SocketNotReadable with extra info