Stall-till-cloudsize for scala