writer emits finish command