Prevent multiple promises from colliding with each other