Set non-infinite read/write timeout values