You should trigger the resource broadcast here to unblock any threads waiting for a connection, so they will get an immediate PoolShuttingDownError instead of waiting for another N seconds.