try { if (bootstrap != null) { shutdownExecutorGroups(0, 5, TimeUnit.SECONDS, bootstrap.config().group(), bootstrap.config().childGroup(), eventExecutorGroup); } else { shutdownExecutorGroups(0, 5, TimeUnit.SECONDS, eventExecutorGroup);
} finally { try { shutdownExecutorGroups(quietPeriod, timeout, unit, bootstrap.config().group(), bootstrap.config().childGroup(), eventExecutorGroup); } finally {