You could try badblocks. It built into FreeNAS.
badblocks -svw /dev/YOUR_USB_DRIVE
Note: This will destroy all data on the target drive, use with caution.
Edit: What is the exact model of the flash drive and are you using this in USB 2 or USB 3 ports?