Fix declaration of Task.Delay(x) to static
Use Task.Delay to implement 1-second delay before dropdown in autocomplete when typing
Fix exception handling logic