Is there a clean way to shut down a vibe.d app?

vibe.core.core.exitEventLoop() seems to simply exit the event loop,
which means that unfinished HTTP requests will be aborted, right?

I also see vibe.core.core.setIdleHandler() which could be useful, but
again, how do I tell vibe.d not to accept new requests?

I would like to use this for a SIGHUP handler for reopening log files
after logrotate, or reloading the configuration.