Fixed client startup detection