Use the option "Process Exists" Action in the "Utility - General" Object to find if it's running. You will have to catch the exception and probably kill it if it's hanged.
Interested in RPA ? Check out this RPA Certification by Intellipaat.
For more information visit :