Clean up session that has expired TTL and lock-delay setting automatically

Version: Consul 1.6.1
OS: Windows
Language: C# (PlayFab Consul.NET API)
Scenario: I created an application which acquired a session with a 30 seconds TTL. If I shutdown the application without explicitly destroy the session (/v1/session/destroy/uuid), the session id lingers on the Consul dashboard indefinitely. However, I can invalidate it on the dashboard manually.
Is there a way to specify that a session be invalidated and removed in this scenario, either programatically or general Consul wide setting?

thanks