Needed better way to finish multi-core writing