Fix bug DNN-4591: catch ThreadAbortException in site settings.