Drain all data from the fd if we are disconnecting anyway
If we get EPROTO or EINVAL on the connection, all we do is disconnect (ourselves or the client). So let's drain the fd so there's no other data to be parsed by accident and then continue with actually disconnecting.