Use own delay function.
Require ert-async to avoid compiler warnings.