incremental backoff and retry if aws api reports instance as not found
moved matheval to its own lib