we can't hold a lock on `this` when writing to framewriter.