python client: SocketNotReadable