Fix pool task id generation using uuid instead of urandom