cache closure result in executor/translator