You are not a failure!!! *Smack*
You've put yourself between a rock and a hard place, though, by telling Boss you wouldn't leave until someone was hired. You should set a time limit, whether you find a job or not. That way you will know the date to file SSDI.
Good Wishes..