Pooled connection

Added a pooled connection handler.