[CLIENT] Add stop_after_nb_frames option

4 jobs for client-fixes-and-refactoring in 13 minutes and 34 seconds (queued for 3 seconds)