terminate thread with GC. Closes #27