Stefan Nehlsen's fix of a timeout problem on large files.