fix hardware statistics serialization when multiple devices with the same name and type are found on computer
rest for a while when failure occured when sending data