Rewrite reducer thread management