[PATCH 2/6] Make the refreshd logfile is synchronous so we get timely output.