Gets the worker thread corresponding to the given thread.
the worker thread corresponding to the given Thread, or null if not found