Redis script delete on exit fix.