server: Only commit SetThreadPriority if new priority is correct.