Adding resend after timeout