Obama: Only one way out of shutdown