Added checking event state after stopping test (gpustress-core.cpp).