Clean StringBuilder if part is restarted
- issue #1032