XrdCl: Wait for all the chunks before destructing the target copy object