Added sleep and retry when scanning a network path

Added a sleep and retry mechanism when checking the video paths because
sometimes a network path cannot be found directly (f.e. when pc is
coming out of sleep mode)