Refactor docker-in-docker wait
What does this MR do?
Addresses feedback from MR: !62190 (comment 581791260)
Suggestion: WDYT about printing a useful message here before starting the wait such as "Waiting for kubernetes runner to generate certs" (or what ever you think is appropriate)
Question: Do we know how much time it usually takes? Can we limit the wait to a that time? Currently, if there is an issue, this will wait until the job times out.
Implements logging and time limit