Continue in while loop if no time found