fixes the time argument at r_socket_ready for the poll part