Change the use of apache Pair instead of javafx one

4 jobs for job-state in 1 minute and 58 seconds (queued for 7 seconds)