Some time, device not response correct. We should cancel the write and read operation. But now, the WriteAndReadAsync function will wait forever.