While file transfers are in progress, both the sender and the recipient see a status box reporting the progress.
Either the sender or the recipient can click Cancel to stop the transfer before it finishes.