You might want to consider adding periodic calls to
SetThreadExecutionState( ES_SYSTEM_REQUIRED | ES_CONTINUOUS );
To prevent World Machine from sleeping while it is calculating terrain data. I noticed my first run at a tiled build it went to sleep in the middle and I ended up with 20 or so 0 length files out of 256.