Added a while loop to keep the thread searching till it finds the
correct destination. Should correct any timing issues. - Rhett