lftp mirror freezes during file transfer to a PROFTPD FTP Server

I’m using lftp to transfer data to a PROFTPD server via FTPS. I run the following lftp command (in a gitlab pipeline): – lftp -e “set ftp:ssl-allow yes; set ftp:ssl-auth TLS; set ssl:verify-certificate false; set net:timeout 5; set net:max-retries 10; set net:reconnect-interval-base 5; set ftp:ssl-auth “TLS”; open -u $USER,$PASSWORD $HOST; mirror -X .* -X .*/…