edited retry part
Merge pull request #72 from asankasanjaya/master

edited retry part
Registry method changed