<BUG>public void returnBrokenResource(final RedisAsyncConnection<byte[], byte[]> resource) {</BUG><CONTEXT>return internalPool.borrowObject();} catch (Exception e) {throw new PoolException("Could not get a resource from the pool", e);}}<extra_id_0>try {internalPool.invalidateObject(resource);} catch (Exception e) {</CONTEXT>
public void returnBrokenResource(final StatefulConnection<byte[], byte[]> resource) {