Why does tolkein postpone smaug's death?

from my point of understanding the book, I belive tolkein didnt know about smaug's death just yet. HASHTAG he didnt know! :)