allow to inject shutdown event