Fix error on log message and orchestrator shutdown