Keep interface the same as before, and allow retry configuration.