Fix spurious detection of timeout while writing to transport filter