Fix handling of retry
Merge pull request #39 from appium/isaac-retry

Fix handling of retry