added notes about how predict will wait for infer to finish