Expert urges council to stop 'pouring money' into Ripon leisure centre