Hi, usually (that is one of my problems) the data call does not disconnect when the socket is closed. If it does for you, then you have set your data call to disconnect after a preset idle time. Check the dial-up settings.
I am currently working on a way to disconnect from within a java program.
Cheers
Stefan