Removed mandatory blocking call if apConfig.defaultUrl wasn't defined.