Handle errors during setup for synchronous connection.