add delay to clearing search box