TCP request Node Programmatically dis/re-connect

Hello everyone,

I have a tcp request node that is kept at never close connection. My other endpoint sometimes disconnects for 1-2 minutes from the network and I would like to programmatically disconnect the TCP request node and Re-connect the TCP request node.

Is this possible ? if not what suggestion do you have to do this?