Another Task is already in progressDuring scheduled backups using a 3rd party solution, the backup solutions create a snapshot on the VM but may fail to delete it post-completion. Over a period of time, this snapshot will grow significantly and could cause task process delays due to the size of the snapshot disk. A stale snapshot chain or an underlying task lock could cause the VM become unresponsive, and common actions like VM power operations or snapshot deletion will time out or fail.
Restart the management agents Restarting Management Agents in ESXi on the ESXi host. This can help reset host-side services and clear stale states.
If the above methods do not help, migrate or shut down all VMs on the affected ESXi host. Then, log in to the host via iLO/DRAC and perform a COLD Boot to reset the host state fully to get rid of the stale vm process.
For best practices regarding VMware snapshot usage and cleanup, refer Broadcom Knowledge article: Best practices for using VMware snapshots in the vSphere environment