Fix panic on network timeout during push Upstream-commit: 0c09dda80f2f5b00c84426560208b9e3dd75138a Component: engine