Disable embedded web server by setting "drill.exec.http.enabled" to false. Now when drillbit is started, it shuts down immediately after starting.
JVM exits when the only threads running are all daemon threads. Turns out all threads in a drillbit, other than the thread pool started by the web server, are daemon. So I suggest WorkManager#StatusThread be made non-daemon.