Recurring loop -> Crash (issue #1)

Fix for the recurring loop -> Crash
Merge pull request #2 from RyanBertrand/patch-1

Recurring loop -> Crash (issue #1)