Adding timeout mechanism for entropy providers to avoid livelock.