Remove race condition in processTestResults()

In some cases when $eventService->replay() took much time, there can be situation when
other process stopped and its result will not be processed
Merge pull request #9 from StartupLabs/remove_process_test_results_race_condition

Remove race condition in processTestResults()