Fix bug which hangs iocmd.tf-32.1
Test-case should pass on Darwin or with non-threaded build as well.