Proper shutdown of file transfer. Property names changed