dedent context.term in context.destroy

prevented ctx.destroy from behaving properly with no open sockets.
test destroy with no sockets
Merge pull request #441 from minrk/destroy

dedent context.term in context.destroy