Log error for the pool + fix retry