422423424425426427428429430431432
} } } } finally { try { launcher.kill(Collections.singletonMap(COOKIE_VAR, cookie)); } catch (ChannelClosedException x) { // fine, Jenkins was shutting down } catch (RequestAbortedException x) { // slave was exiting; too late to kill subprocesses }