async function tryRestart(pids) {
        const processName = await matchPid(pids)
        if(processName === undefined) {
            SA.logger.info('No matching process to restart')
            return
        }
        SA.logger.info('Process ' + processName + ' restarting')
        const child = spawn('pm2 restart ' + processName, {
            detached: true,
            stdio: 'ignore'
        })
        child.unref()
    }
@param {number[]} pids 
@returns {Promise<void>}