turbostat plugin: close fd on error