This application tests if invalidateLater causes significant memory leakage. (#2555)

After five iterations it will print out whether it passed or failed.