for (final SelectionKey selectionKey : keys) {
final Connection connection =
transport.getSelectionKeyHandler().
getConnectionForKey(selectionKey);
connection.closeSilently();
}
} catch (ClosedSelectorException e) {
// If Selector is already closed - OK
} finally {
try {