Send error to callback when activity.close call fails