update AttachMain enable client choose jvm agent tasks.