Terraform destroy on azure pipelines

I’m trying to destroy (terraform destroy )created resources . It’s never been successful. Here I’m using azurerm 2.0 as backend. The job being cancelled after 60 minuets automatically . Please give me a hint to solve this issue. see below for logs

##[error]The job running on agent Hosted Agent ran longer than the maximum time of 60 minutes. For more information, see https://go.microsoft.com/fwlink/?linkid=2077134


2020-04-13T03:27:30.3494825Z ##[section]Starting: TerraformCLI

2020-04-13T03:27:30.3516135Z ==============================================================================

2020-04-13T03:27:30.3516581Z Task : Terraform CLI

2020-04-13T03:27:30.3517336Z Description : Execute terraform cli commands

2020-04-13T03:27:30.3533120Z Version : 0.5.2

2020-04-13T03:27:30.3556677Z Author : Charles Zipp

2020-04-13T03:27:30.3557182Z Help :

2020-04-13T03:27:30.3557585Z ==============================================================================

2020-04-13T03:27:30.7877519Z [command]/usr/local/bin/terraform version

2020-04-13T03:27:30.8430660Z Terraform v0.12.24

2020-04-13T03:27:31.3494842Z + provider.azurerm v2.0.0

2020-04-13T03:27:31.3520488Z

2020-04-13T03:27:31.3652950Z [command]/usr/local/bin/terraform destroy -auto-approve

2020-04-13T03:27:32.1994465Z Acquiring state lock. This may take a few moments…

2020-04-13T03:27:32.6616061Z [0m[1mvar.client_id[0m

2020-04-13T04:26:52.1240478Z [1mEnter a value:[0m [0m

2020-04-13T04:26:52.1586596Z ##[error]The operation was canceled.

2020-04-13T04:26:52.1613082Z ##[section]Finishing: TerraformCLI

This happened to me as well but it turns out the pipeline was doing a shallow fetch. When I turned off the shallow fetch and ran it again, I didn’t have any issues.