class EventMachine::ThreadedResource

def shutdown

only required for tests.
Kill the internal thread. should only be used to cleanup - generally
def shutdown
  @running = false
  @queue << lambda {}
  @thread.join
end