Remove unnecessary sleep on shutdown