Ultracold atoms prepared in excited internal states can escape from the trap through inelastic collisions. A magnetic field can be used to suppress the s-wave loss rate coefficient near an s-wave Feshbach resonance. However, at the temperature of μK the p-wave loss rate coefficient becomes increasingly important as the temperature increases. The unsuppressed p-wave loss rate coefficient can far exceed the suppressed s-wave loss rate coefficient, and severely restricts the reduction of the total loss rate coefficient. We calculate the collision rate coefficients of ultracold 85Rb and 87Rb atoms prepared in excited hyperfine and Zeeman states using the coupled-channel method. We find that in + and + there exist broad p-wave Feshbach resonances located near s-wave Feshbach resonances, and find that the s- and p-wave loss rate coefficients can be simultaneously suppressed by a magnetic field in the temperature range from 1 to 30 μK. In particular, for + the proportion of the s- and p-wave loss rate coefficients in the total loss rate coefficient can be well manipulated by adjusting the magnetic field.