Does this API hold a lock around copy_completed file ? If not, can this cause race condition ?