add Error when lost connection