Terminate worker of previous doc
Merge pull request #4153 from sriram-dev/4027-destroy-previous-doc

4027 - Terminate worker of previous doc