Is there any way to inject no.2 working immediately after I injected inject no.1 (Fins Protocol)

Is there any way when I want inject node no.2 to run immediately after I injected inject no.1 ? my work is about cx-programmer to OMRON PLC, then connect to node-red via fins protocol
For example, a project that I am working on is When I inject disconnect , it has to inject connect run immediately, it has to inject until connect is returned, like a loop or trigger help me?

If I read this right you want to Connect then after it is connected, disconnect. Is that right?

It is not 100% clear what you are trying to achieve.

i mean when i press disconnect then connect inject have to inject automatically

Cant you simply use a delay?