exit if mongoose fails to start