'LINQ script class throwing TaskCanceledException Error

I am working on .NET CORE 6 application along with Entity Framework CORE 7. I have class where I have written LINQ script. This is async method. I am not sure why I am getting TaskCanceledException error here...

enter image description here

linq

public override async Task<(int, JobProfile)> Execute()
    {
        try
        {
            var query1 = await (from x in db.JobProfiles
                          where x.JobProfileId == JobProfileId
                          select x).FirstOrDefaultAsync();

            return (0, query1);
        }
        catch (Exception ex)
        {
            throw;
        }
    }

calling above method

 var queryResult = await _getJobQuery.Execute();


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source