masterclient now throws io for all exceptions. This is to solve the infi loop issues with master
Merge pull request #514 from dcapwell/masterClientRetryThrow

Master client retry throw