Infinite timeout waiting for the hash result.
Actually optimize the code!