What's the easiest way to check whether Ingres is running from an embedded SQL program? If I run a SELECT statement, say, and Ingres is not running then the program will exit and I don't want this. I would want to attempt to reconnect when the server is available.