cheat-ish way to avoid GC of closured variables; FIXME, this leaks