Added a lock to the integration test event response.