Use SPA wait-to-finish if SPA_ENABLED is True (WiP)