ConnectionPool now automatically frees connections when there are many
unused ones.
LoginManager: Null check