Add code to clear stdin