Loop waiting for incidents file to be created in order to have a stable
test.