Try to avoid timeout disconnect by foresighted reconnect. Throw exception from ack() on error.