Make wait for job completion a public method