cleanup (remove max_retries test)

It was reverted in b14584f36eca344ed5033d1d2f5a59490fadca56 but again merged in c0d4b23cea430ba1dce407f4325d9362c55d577c