add JavaDoc.
refined.
remove retryCount check.