listen the connection error