Workaround ClosedSelectorException (Solaris) WIP