Modified max retries to 3(default). It seems that more than 3 retries
doesn't work as expected. :-(