xmpp-ftw: using pm2 to manage thr process lifecycle