         :inet.setopts(sock, [active: :once])
         {:noreply, %{state | state: :auth}}
       {:error, _} ->
+        Logger.error "Instrumental authentication failure"
         {:noreply, %{state | state: :auth}, @auth_retry}
     end
   end

        :inet.setopts(sock, [active: :once])
        {:noreply, %{state | sock: sock, state: :hello}}
      {:error, _} ->
        {:noreply, state, @auth_retry}
    end
  end

        :inet.setopts(sock, [active: :once])
        {:noreply, %{state | auth: true}}
      {:error, _} ->
        Logger.error "Failed to authenticate with instrumental"
        {:noreply, state, @auth_retry}
    end
  end
