Fixes 4642: Fix intermittent test failures on rundeck functional tests