added deleteThread
Merge pull request #18 from contextio/dgl/deleteThread

added deleteThread