this is not of consequence to this PR, it's just a safety precaution for a potential double `'close'` that I noticed.