Hack for parent to detect if child is alive by using the return value. IllegalThreadStateException means no return value yet and child is still alive