Fixed readline exit process