Added exit to dbConnectionException handling after headers are sent.