use quit instead of close. Qiu