If you're using rasphone to initiate the connection, you can use rasphone to disconnect it...
code:
shell 'rasphone.exe -h "Name of Dial-up Connection"'