The president says he's willing to keep the federal government closed long term, but believes that won't be necessary.