Delete process&thread