If I was not going to use my 2 stroke mower/chainsaw for longer than 6 months I would let it idle until it was dry, then remove the plug & put a little 2 stroke oil in the cylinder.
Pull the starter to distribute the oil,then put the plug back in.

By the way ethanol blended fuel should not be used as it attracts
moisture, (I read that in a Ryobi manual)

cheers gmax