ajax_wait needs to sleep

Change-Id: I1636a0f0d69947691298f703e3acc5fcc15c3b6b