Reduce hang when running checksum on large file