Make sure there is an executor during shutdown. Issue #155