exit client if in running state