Fix exception code when kafka requests fails