Fixing problems with thread create during step test.