forget clone - use phtread and catch sigsegv