fixing race condition in droplet creation