when shutdown, clear resend handler