Ensure that the thread has started before attempting to join on it.