Added failure simulation and request reties.