backoff is actually a long - not an int. Updated function definition.