Right, I think that's reasonable too. Be careful that dumping the socket doesn't cause that node to be penalized. Maybe raising Pool::BadResource manually, with the other exception wrapped in it would work.