Try better test cleanup by using spawn