Specified local connection ID not found

Error constant SQLE_LOCAL_CONNECTION_NOT_FOUND
ODBC 2 state ERROR
ODBC 3 state ERROR
Severity 16
SQLCODE -996
SQLSTATE WO024
Sybase error code 709
 Probable cause