My arduino randomly pauses

in that case try a different usbcable or another usbport on your pc