Add a missing .close that Windows needs.