DGW/mqtt: fixed reconnection to the broker (#21)