Parallelize job submittion. Make thread-safe sendToMaster method