restart pm2 properly