// remove the binding service
bindingService.setMode(ServiceController.Mode.REMOVE);
final StabilityMonitor monitor = new StabilityMonitor();
monitor.addController(bindingService);
try {
monitor.awaitStability();
ROOT_LOGGER.unboundJndiName(bindInfo.getAbsoluteJndiName());
} catch (InterruptedException e) {
ROOT_LOGGER.failedToUnbindJndiName(name, 5, SECONDS.toString().toLowerCase(Locale.US));
} finally {
monitor.removeController(bindingService);