Add a sleep-loop to get the Docker daemon's tcp socket - the pid file is...

...n't ready the first time we ask for it on one slower box I have

and in the process, it was easier to return the error and use it...