Fixed console "replication" commands
Fixed problem with only one connection in the pool
Minor: avoid to get the db instance in TL when is not necessary