Added some time delay before reading the logfile to check whether an
error occurred