Adding docker inspect retry clause

Adding retry clause in the event that docker inspect is called too quickly and returns a PID of 0 as seen in https://github.com/jpetazzo/pipework/issues/61