consul: Suppress error if connection is closed