Use built-in pool clear() method instead of explicitly iterating on client close()