Added flush callback for usb serial devices