changed to queue.
Changed reconnect behaviour
set encrypted config