introduce number of retries and retry interval for external monitoring