[STATUS] close FTP connection when writing status file on a remote FTP server