Nssm can't detect Prefect Cloud Work Pools

Disclaimer: I think (but am not sure) that this is an issue with NSSM, but allow me to ask this to hear others’ thoughts.

I use Prefect cloud and have a work pool to run my flows. Running prefect worker start --pool wpname allows me to run this work pool in Prefect cloud.

But when I am using the Windows service created using NSSM, the work pool is not detected and creates the work pool with the same name. I think this work pool is created locally since the original work pool in Prefect cloud is still on Not ready status. I installed the service using nssm install PrefectWP <path-to-prefect.exe> "worker start --pool wpname".

Any suggestions are well appreciated.