Added retries and runtime instance