Added wait_time and retry_times variables to dcecorator.