Fix a DedicatedThread shutdown interrupt() bug. Interrupt might have thrown NullPointer and stopped the process early (shutdown race condition agains that thread)