added exponential backoff
better sanity check for scala-refactoring success