Call fd_select() before fd_accept() in my_socketpair() to make sure it's ready.
Added support for poll() to the fd_accept() check in my_socketpair() and lowered the select() timeout.