[fix] Fixed race condition that I had previously implemented
[fix] Fixed race condition that I had previously implemented

DonSchenck/pkgcloud,Phanatic/pkgcloud,Phanatic/pkgcloud,mcanthony/pkgcloud,pkgcloud/pkgcloud,andrewsomething/pkgcloud,apla/pkgcloud,songanbui/pkgcloud,hacor/pkgcloud,mdsummers/pkgcloud,temka1234/pkgcloud,bunglestink/pkgcloud,Hopebaytech/pkgcloud,dionjwa/pkgcloud