Limit number of processes to 8

Rather than hardcode, just limit the max to 8