Fix crash when file can not be opened.

If the file can not be opened during onStart, re-enter the stopped state.