Removed attempt to exit server on handler failure. It did not seem to be working.