Merge commit '541150d' into release-0.14 (Fix `test_closed` on Windows)