if job are executed sequentially, report the first one failing as soon as possible
using reflection to access the getTaskCompletionEvents method for all versions of hadoop