do not throw if closing fails, only log