Fixed a memory corruption bug
Fixed regression in mdhimClose that was causing a deadlock