try to fix sha-1 generation pb when server is slow or down