After adding hasp_rt.exe and dll's the service still blocs.
Please take a look at the attached screen dumps.
First shows the session status after running the application (service) - what bothers me is why there are two entries not one!!!
Second shows the session status just after application (service) shutdown - one session left.
After a minute or two this phantom session will also disappear.