remove readline to exit app.