Tweaked some endpoint caching to avoid a nested dictionary error and change RabbitMQ to have separate inbound and outbound connections