listener: reconnect on error.