Fix long-running memory leak with delayed checks