cgi: defer the reload to the end

This avoid sync on config reload.