First question is why you even want to use a thread if you block the main thread anyway?

Usually a worker thread is used to do something long going and potentially block while keeping the UI responsive.

Cheers,
_