I am using power shell to run python script. The script executes and does all the steps, but does not return to workflow in power automate. The Process just hangs on that step in the workflow until I cancel it.

I am using power shell to run python script. The script executes and does all the steps, but does not return to workflow in power automate. The Process just hangs on that step in the workflow until I cancel it.