Fix event loop holding at PoolCluster.end()