Fixed AZPC Shutdown before quick from main loop