Handle Null Thread