Fix leak caused by fix to bug #65667

ftp->stream is now closed in the ftp resource dtor.