use proper cmtime comparison macro
get finishWriting: off main queue