Stop test hanging.