With 6.3 the script does never end now. Looks like no reconnect happens by scripting.
Feb 14 16:44:45 srv2 proftpd[908404]: mod_tls/2.9.2: unexpected OpenSSL error, disconnecting
2024-02-15 17:10:03,463 mod_tls/2.9.2[1151966]: added 2 certs from '/opt/psa/admin/conf/httpsd.pem' to SSL_CTX certificate chain
2024-02-15 17:10:03,474 mod_tls/2.9.2[1151966]: TLS/TLS-C requested, starting TLS handshake
2024-02-15 17:10:03,505 mod_tls/2.9.2[1151966]: client supports secure renegotiations
2024-02-15 17:10:03,506 mod_tls/2.9.2[1151966]: TLSv1.3 connection accepted, using cipher TLS_AES_256_GCM_SHA384 (256 bits)
2024-02-15 17:10:03,808 mod_tls/2.9.2[1151966]: Protection set to Private
2024-02-15 17:10:03,896 mod_tls/2.9.2[1151966]: TLSv1.3 data connection accepted, using cipher TLS_AES_256_GCM_SHA384 (256 bits, resumed session)
2024-02-15 17:10:08,527 mod_tls/2.9.2[1151966]: unable to accept TLS connection: system call error: [104] Connection reset by peer
2024-02-15 17:10:08,527 mod_tls/2.9.2[1151966]: unable to open data connection: TLS negotiation failed
2024-02-15 17:10:08,527 mod_tls/2.9.2[1151966]: panic: SSL_ERROR_SSL, line 11109:
(1) error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
2024-02-15 17:10:08,527 mod_tls/2.9.2[1151966]: unexpected OpenSSL error, disconnecting