try selectorManagementDispatcher.execute(task) finally selector.wakeup()