The air gap at the top of the pipe is there for a reason... it provides an air break to prevent the machine syphoning out, if you bung it up the machine could continuously syphon out when on rinses.If the down pipe has a water trap at the bottom no smell can come back up. Probably best if you get a washing machine sanitiser from the supermarket.
Kenjo, April 2014