Stable 3.3.x - fix thread lock for copy process

Hi Lukasz, 

Could you please merge this change as the current copy process is really slow without the multithreading part working? This can be a CERN only release - it will only be used for the archiving, until we move to xrootd4.

Thanks, 
Elvin