When user would launch a published app it would take a while. When closing an app blue screen won't disappear.
Web browser was set to prompt when running activex controls. Also found that Time Live was set to 0 which was causing the application to hang on close. The time to live option is used to determine the amount of time the webapp will wait for further connections to that webapp. 0 means wait forever. This number may need adjusting depending on the speed of the machine your users have. The timer starts when the user clicks on the link, if the connection is not made to the back end server during that time, the user will get an error.