Bug when cancelling file transfer fixed.