Fixed the pooled connection handling bug when using pipelines. Added a benchmark application.
ticket:imiza Merge branch optimizations
Bumped the version number.