prototype: static void my_close(void *hnd);
The close function is called when a plug-in is finalized. You would close any open connection, free any private data structures and terminate all loose data.