Another try: wait a bit for each line write to file