Fix thread initialization issue when runtime started twice (as seen in image_test)

Change-Id: Ic20758ee64c1b2c41cd2329cf6d66b15d0ac2473
1 file changed