IOTLink how to close an application after a set period?

I want to use IOTLink to open an application on a remote Windows machine, then close it after say 30 minutes. I have created the script below to launch the application, which works fine, but I can’t find a way to automate closing the same application. Any ideas??

  alias: Run Canon Image Transfer Utility On Server2022
  - service: mqtt.publish
      topic: "iotlink/workgroup/server2022/commands/run"
      payload: '{ "command": "C:\\Program Files (x86)\\Canon\\ImageTransferUtility2\\Image Transfer Utility 2.exe", "user": "", "visible": true, "fallback": true }'
  mode: single