allow to configure retry