cleanup :namespaces before collecting closed-overs