Adding sleep to wait till knowledgebase is loaded.