https://www.vishalon.net/blog/sql-server-stop-trace-using-sql-command
Stop SQL Server Trace Using SQL Command