read error handling for ctrl-c