clean background task before starting a new one