Fixes #65: .catch() prevents .then() from getting executed