Change the power management options of the VM according to the screenshot below:
Using ssh, connect to the ESXi server and navigate to the directory which contains the virtual machine (typically /vmfs/volumes/datastore_name/virtual_machine_directory). Modify the .vmx file by adding the line
suspend.disabled = "TRUE"