Get a new Thread for type and ctx.
type
ctx
a ThreadPool
the ThreadType
a Context
a new Thread, stop after usage