avoid depleting of entropy pool

Signed-off-by: MassStash <MassStash@gmail.com>