* the remote so that future connections can reuse the process.
*/
exec: ISshExec,
logService: ILogService,
serverDataFolderName: string,
quality: string,
pid: number | undefined,
port: number,
connectionToken: string | undefined,
): Promise<void> {
if (!pid) {
logService.info(`${LOG_PREFIX} Agent host PID unknown, state file not written`);
return;