multimeter plugin: fix fd leak