Fix FTP_Threads logic