Draft of connection_pool class
Bug fix on create_slave_connection