Here's the problem I need to solve:

I connect via PD scripts to a remote MS SQL server. How can I check out
before any further processing if this connection exists and runs? The
corresponding part of my script is as follows:

myConn = site.GetConnection ( "Conn1" );
if ( myConn == null ) { // no connecton

The bad thing is that when there's no connection (I unplug the network
cable) PD simply HANGS UP! By the way, "connection timeout" is set to 1

Thanxxs in advance:-
Alexei Kopylov