forcing int on timeout values in process and timed_read