Merge pull request #1719 from kodustech/fix/kody-learning-pool-exhaustion