so close to finding the hanging issue. Might be mutex related.