added optional max concurent jobs