added support for rescheduling message if handling fails