Make sure iorq->fd is a valid FD before adding it to the FD_SET. Prevents endless loops with "select: Bad file descriptor" error messages.