Fixed an issue where both success and failure callback were called on new activity upload failure