Thread init is done