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