Add missing `Of.reset_vars` call in receive/after `badtimeout` error path (#15527)