fix(gateway): wait until radosgw is accessible

closes #2670