My application is connecting using jconnect 5 to sybase. Server is on the verge of shutting down , hence opens connection but shuts down before sending message of shutdown. This leaves connection open at my application side, waiting indefnitely.

How can I tackle this?
Your help will be most appreciated.

Thanks