Is that what that's for? My Mini Cooper does the same, sometimes. I assumed it was something to do with the engine space being so small and cramped, so the fan had to continue for a bit after shutdown to prevent residual heat from getting to the electronics or something.