stream: use poll() to apply network sendmsg() timeout.