SWITCHYARD-2142 Errors during shutdown of Karaf with app deployed

https://issues.jboss.org/browse/SWITCHYARD-2142