Made read and write timeouts a bit more sensible