[BZ 1100309] Handle read/write timeouts