`closeQuietly()` only catches `IOException`, which is not thrown by the `close()` method, so this preserves the previous behavior.