Fixed bug w/ failure call on successful app close