Check if connection with device failed