Added option "max-jobs" to Run Command

This option sets a maximum number of jobs that a worker should work before exiting.
Small tweaks