for phantom to exit if the timeDiff is more than 10s