Correcting usage of randomRs by generating a new StdGen instance per handler call