Detect possible malfunction in Shell.SU.available()

It has been reported by a user of the library that in some odd cases the
id call may terminatue the shell. I'm not sure how or why, but this fix
does succesfully work around the problem