fixed process issue by creating new process instead of thread