improve retry extensions