After clicking a button next line of codes are not working

boolean visible = WebUI.waitForElementVisible(findTestObject(‘Object Repository/Common/QueryResult/XLS_CurrentFields’), GlobalVariable.Delay)

				if (visible){

					WebUI.click(findTestObject('Object Repository/Common/QueryResult/XLS_CurrentFields'))

println(“hiit”)

				} else {

					LoggerKeyword.logTestResult(GlobalVariable.Reference_TestCase_Name + functionfor, IterationCount , startTime, LocalDateTime.now().toString(), 'FAILED', 'Issue clicking XLS Basic Field button')

					status = false
				}

on the upper code snippet after clicking “XLS_CurrentFields”(an anchor tag) the program waits for almost 10 minutes then runs the next println statement. why is it so could not understand. This problem is happening for IE browser, not in Chrome.