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