Working terminate and fork