Move retry options to config