Write out partially complete pieces on exit.