generic-pool: instantiate Pool in the same manner as the shim
generic-pool: instantiate Pool in the same manner as the shim

If the shim is called with the 'new' keyword, make sure the original
Pool object is as well

opbeat/opbeat-node,opbeat/opbeat-node