refine worker_processes validation