refactor cross domain request
prevent backoff from shortening a delay if it is larger than backoff ceiling
break out test