Prevent incomplete task leak in recv.