add timeout to check hash

Reduce number of fake test-fails