cli: don't raise immediately if cli can't connect to frontend
We should try to connect to the frontend more than just one time.
Maybe the apache is restarting. This was causing the command watch-build
to fail immediately and it was returning 1 even though a build succeeded at
the end.