Change max_tries to 10, instead of 2.