mechanism to dispose daemon without breaking nio2 semantics