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