Give docker a second after stopping a container before attempting to remove it. This may avoid errors during removal.