Close #151: exception when calling "fte.warn" causes close() to not be called