Sort:  

Hmmm...does the script die and totally stop here or does it keep running? I'd stay stop/start everything and see if that'll resolve it.

pm2 stop engwit
systemctl stop mongod
systemctl start mongod