This is to give pending AJAX requests time to complete before we navigate away, for example.
In case we end up wanting to use it in Spinach as well.