Added more debug and retries.