Added escape if there are connection problems on random.lua