Adding retry clause in the event that docker inspect is called too quickly

Adding retry clause in the event that docker inspect is called too quickly and returns a PID of 0 as seen in #61