Averaging of stochastic flows: Twist maps and escape from resonance ☆