Yes, I logged all phases of shutdown with sleeps everywhere. It took some time until I got it right.