is it good to make fork call from thread? how to handle termination of child forked by the thread?