fixed error in retrying part
Merge pull request #74 from asankasanjaya/master

fixed error in retrying part