Fixing issues with FTP queue