JBASMP-61 Hack to avoid NoClassDefFoundError in shutdown hook.