Took out System.exit() from dispatch() and simply re-throw Exception after logging to stderr. Underlying error was possibly caused by some ints not being volatile (!) so fixed that which should prevent the catch in dispatch() from ever being triggered.