Fixed shutdown to not fully idle :)

This should fix the not shutting down error...

I hope I got it right this time :)