Forking to background kills already created threads, so forking must happen first and thread creation after. closes #1695 Change-Id: I743b890b83903d9e0b3248b032844e7e357d2307 (cherry picked from commitmr11.4.1e82c4ada1a) (cherry picked from commitff6d24e9a4)