Add delay when things fail.
Merge pull request #46 from hoangelos/master

Add delay when things fail.