[test][bcp] Add max iteration count as watchdog system

Without that some tests might stale indefinitely.
4 jobs for improve_two_loops_test in 22 minutes and 23 seconds (queued for 4 seconds)