Free some RAM when a file transfer ends