Update ext.cpp

Add some more std::exit(EXIT_FAILURE); i.e kill the server...
For scenarios where Database Connection Fails