uhttpd: deliver SIGTERM to child when parent leaves I/O loop