deallocate prepared statement at the end of a transaction. #4