Add delay after build/invocation stop actions to allow Jenkins to catch up (fixes test failures)