more than likely its just air being sucked into the fuel. forms a bubble when turned off. depends on where the air bubbles sits, it can reduce injection timing which causes the white smoke. once air is pushed out it runs fine.
common thing is fuel filter seals or injection pump seal.
common thing is fuel filter seals or injection pump seal.