dedent context.term in context.destroy

prevented ctx.destroy from behaving properly with no open sockets.