A remote connection to the Android device

Hi everyone!
I've got a question. So, I'm trying to connect to my Android smartphone remotely using ADB over the network, but the connection keeps getting interrupted. Now, I'm trying to figure out why. I've been using Rclone and Termux on my smartphone recently. Do you think one of these apps might be causing the connection issues?
I'm not a pro at this, just learning, so any help would be greatly appreciated!

what specific issue makes you think rclone on termux is causing problems?