Fixed Shutdown from API call