added feature for printing remaining time when max retries reached