Improper Control of a Resource Through its Lifetime in Mattermost in github.com/mattermost/mattermost-server