Effects of counterflow jet on the performance of a generic rocket