Add a safeguard against ACKs for running transfers

Add a safeguard to reject PeSIT ACKs received if the transfer in question is still ongoing (i.e if the pipeline is still present) to prevent race conditions.