Isolate run cycles to prevent memory leaks.