Create an EventListener that monitors the time it takes to run a test. It should automatically exit the test when it reaches the timeout.