Using submitJobs function to do concurrent calls instead of threading