java interrupt scanner nextline