fixed bug in example code

15 jobs for master in 13 minutes and 49 seconds (queued for 3 seconds)