Session manager is never closed.
The session manager allocates two heavy resources:
- Database connection
- Forever running goroutine that operates on the database
These resources are never free. It should not be a problem in production as they are cleaned up by the operating system on the application shutdown. But it may cause confusing issues in the development environment.