not infinitely retrying appcontroller calls after a certain number of connection refused exceptions