Fix compile warning and timeout message logic in io_stream.c

Can't you remove the rtimeout.tv_sec....  few lines below too? its already done at the beginning?