Basic multiplatform shutdown solution