Ensure FTP client returns nil on error