Bug 1024555: Cancel gethash requests after 5 seconds if they are still pending