terminate R Markdown render process when a new client connects