Add timeout when waiting for splash page