Add clearSubject before setSubject

In a very few cases, I'd experienced some `Subject set twice` exceptions. We can clear the subject before to avoid any exception.