The SSE client will stop sending heartbeats which eventually expire the subscription on the server who removes it from Redis. But the Redis metadata wont be removed if the SSE Server crashes.
Please see this answer/thread on using the IServerEvents.Reset() API to clear out Redis metadata entries on AppHost Start.
Also you may want to upgrade to v5.1.1 on MyGet as it fixes a potential locking and memory leak issue.