Remove dependency on generic-pool

I started off trying to see if it was safe to update the `generic-pool` dependency to a newer version, but as far as I can see it is never actually used so I have removed it instead.