Fuel solenoid stops fuel passing into the main jet and stops the engine venting unburned fuel vapour wile it is still rotating after you turn it off.
A bad float valve seal allows fuel to fill the float chamber then flow through the float bowl air vent into the engine where it trickles down into the cylinder, past the piston rings then fills the crank .
So it is carb cleaning / rebuild time for you.