[PATCH v15 3/4] server: Use setpriority to update thread niceness when safe.