Fix error in case for retry time