Add retryTimeout and modify indentation