using pm2 to run client processes