Changed way xml to dict is imported

- Also handle case of IPMI being blocked by ongoing session