user better way to exit read stdin