Why was a background task cancelled