In order to properly disconnect from the database, you need to call several commands. According to the developer, these commands are :
Call SQLFreeStmt with option 1 (SQL_DROP)
Call SQLDisconnect
Call SQLFreeConnect
Call SQLFreeEnv
If you still encounter problems in this matter, check the support page from the application's website. You should be able to overcome your problem.