On the behavior of dissipative time integration methods near the resonance condition