Use non-blocking randomness when possible