Fixed race condition bugs with child download processes