Bug Fix: avoid closing twice (bin patterns should be a superset of open ext patterns)