if ( someThread != null && someThread.IsStillRunningOrSomething() )

someThread.Join();

EDIT: Obviously, Blowdart's answer is better.