prevent nasty ClosedSelectorException during test runs