Fix for closable leak

In strictmode, the app will crash unless this file is closed.