fixed issue when stopping components outside of app container