I had problems with refueling over years and the thing what really helped was buying the warthog stick from thrustmaster. It was a Revolution in case of flying precise. AAR, formation flying and so on
Before I made contact with the Boom only for seconds. First attempt with the new stick, complete refuel over several minutes without disconection.
Also don't focus on the Boom just stay in formation with the Tanker