if NUM_WORKERS is set to 0 we don't want the sanity check to reset it to 2 (since it evaluates to false), #123
set default number of worker threads to 1. #123