make sure any unhandled Throwable doesn't get handled by the server (stacktrace shown) - this needs improving