iOS thread join testing