Fixed race condition in hexaupload