added condition if retrystrategy doesnot have timeout