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