When a needle valve is leaking a bit at idle, the engine is gulping the extra gas. When it is shut down, there is pressure there until is leaks off but there is nowhere for the gas to go since the engine is not running. It therefore runs down into the manifold.
Sometimes a small adjustment in the float height will do the trick. For slight flooding, moving the float level down a bit to lower the level may fix the problem.