Adds a tiny delay in the infinite test code

Without it, it is possible to fill the heap, and to crash the target VM.
Merge pull request #205 from skyluc/issue/not-so-infinite

Adds a tiny delay in the infinite test code