Plugging/Unplugging while Python Script Runs

Hoping someone can help show me the way here. I have a python script that calls blinkstick.find_all() and stores it in a variable and does some things with the blink sticks it finds. This is all encompassed in a loop that reruns every 5 seconds. When I unplug a blinkstick and plug it back in, the script is not picking it back up in the blinkstick.find_all() call. I need to kill the script and restart it for the script to pick up the blinkstick that was unplugged and plugged in back up. Any ideas on how to resolve this issue without killing and rerunning the script?

welp…it was my own fault…faulty logic in my code!