Why spinning wheel after opening app?

This shortcut is intended to automate the restart of OBS in the event of a recurrent audio issue.

When I run it within Shortcuts, it stops after quitting the app and does not execute the second step.

When I run it a second time, it launches OBS and then generates the spinning graphic shown in the image.