SafeCloseUtil: do not ignore the provided logger