what to do when pancreas fails