Fix for closable leak

Without this, app will crash on startup if strictmode is enabled to detect closable files.