Fix for failing test: stop processing events if event.Offset > w.job.StopOffset.
Fix for failing test: stop processing events if event.Offset > w.job.StopOffset.

vadimtk/metrics-agent,vadimtk/metrics-agent