In my case, it tended to brown a bit in the end, although the toothpick test had not passed.
So, the last 10-15 minutes I baked it with aluminum foil on top, not to dry too hard, but to be sure baked inside.
Take it out of the oven and let it cool in the pan for about an hour, covered with a towel.