www: reconnect after error