Problem with regression tests getting stuck