Add implementation of ws_statement_deinit()
Add deinit callback for ws_transaction