TODO: return non-zero exit status if any checkJobStates timeout