No communication if no gateway is set

Thanks @dirk-thomas - I’ve been posting on this one: https://github.com/eProsima/Fast-RTPS/issues/167