Arduino Due gets crazy if unplugged while sending

Do you connect your board behind a hub or directly into the PC ?