Fixed client's running flag.