title: Tell homebrew never build from source
body: <p>During package installation via homebrew on macOS, if my network is not stable and one download fails, homebrew will download the source and start building from source. This will take a long time and high CPU usage, which is unwanted. How can I tell homebrew retry or just stop when downloading fails?</p>
  
  <pre><code>==&gt; Downloading https://homebrew.bintray.com/bottles/sqlite-3.27.1.mojave.bottle.tar.gz
  
  curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to homebrew.bintray.com:443 
  Error: Failed to download resource "sqlite"
  Download failed: https://homebrew.bintray.com/bottles/sqlite-3.27.1.mojave.bottle.tar.gz
  Warning: Bottle installation failed: building from source.
  ==&gt; Downloading https://sqlite.org/2019/sqlite-autoconf-3270100.tar.gz
  ######################################################################## 100.0%
  ==&gt; ./configure --prefix=/usr/local/Cellar/sqlite/3.27.1 --enable-dynamic-extensions --enable-readline --disable-editline
  ^C
  </code></pre>