I receive an exception "Poco::Data::ConnectionFailedException" and that is right. But I have noticed that the Login Timeout is higher.Is it possible reduce the Login Timeout? The "get" method in SessionPool doesn't have a Timeout parameter:

Unfortunately, no. Data::Session timeout defaults to 60 seconds and that is not exposed through either SessionPool constructor or as a property. I don't have time for it right now, but if you file a feature request on GitHub, I will look into at some point in the future. If you provide a sound patch and send a pull request, timeframe could be shorter.