Fix potential race in volume creation

Docker-DCO-1.1-Signed-off-by: Brian Goff <cpuguy83@gmail.com> (github: cpuguy83)
Merge pull request #8266 from cpuguy83/fix_race_in_createing_volumes

Fix potential race in volume creation