lighttpd delays unnecessarily before exiting
lighttpd spends unnecessary time waiting when ^C is pressed, even after connections are done closing down.
When srv_shutdown is set, continue so we don't sit in fdevent_poll for a full second.
When joining threads, wake them up, so we don't sit around for up to their full period. This has a minor hack because of an arbitrary limitation in glib: it refuses to queue NULL in an async queue.
Also available in: Atom