ftp: synchronize on PROT command to avoid sending double PROT