Suggestions welcome then, if you have solutions please let me know. 

On the plus side, removed multiple ajax statements and added just one sleep call inside search_entity inside base(ui) module.