Clean up, avoid some server info leak, prevent crash when procfs is unavailable