#49 Fix thread counts for synchronous running.