test: don't leak fds in tcp_close
test: don't leak fd in tcp_listen_without_bind
test: don't leak fd in tcp_bind_localhost_ok
test: don't leak fds in loop_stop
test: don't leak fds in run_nowait
test: don't leak fds in tty
test: don't leak fd in osx_select