if (bindingService == null) {
ROOT_LOGGER.debugf("Cannot unbind %s since no binding exists with that name", name);
return;
}
final CountDownLatch removedLatch = new CountDownLatch(1);
final ServiceListener listener = new AbstractServiceListener() {
@Override
public void transition(ServiceController controller, Transition transition) {
if (transition.getAfter() == ServiceController.Substate.REMOVED) {
removedLatch.countDown();
}