added connection pool, improved connection persistency