Use ^{:once true} fn* instead of plain fn to reduce memory leaks due to closures.