Retry tasks if they failed with ResponseException