Fix [3534607]: tpool::get sets errorInfo incorrectly. Thanks to Cyan Ogilvie for suggested patch.