JFG-345 impossible to run jagger with termination strategy duration
Refactor of the code