I have used PumpingSwitchEx function for pumping initialization. But after some time the pumping was stoped. Next try give the error: Connection lost. How I can re-initialize pumping and reconnect to the server again?

After stoping function "Connect" give Access Violation, "Release" take a very-very long time (I never saw end).