more time for waitFileIfIsEmpty