Fix cleanup of FTPSession

Must not call Deinit before destructor