Add #162: Delete generated keys and certificates in case of connection failures