How to create multiple span within single transaction(using Httplistener) using vb.net

Does the process terminate right after the transaction is ended? This comment explains it: Transactions using OpenAPI C# is not showing up