Fix regression: engine hangs while pondering