fileSender proper termination