                                     }
                                     $0.removeValueForKey(newPeer.uuid)
                                   }
-      })
+                                })
+
     guard let newAdvertiser = advertiser else {
       errorHandler(ThaliCoreError.ConnectionFailed)
       return


  // MARK: - Public methods

  /***/
  public func startUpdateAdvertisingAndListening(onPort port: UInt16,
                                                        errorHandler: ErrorType -> Void) {
    if let currentAdvertiser = currentAdvertiser {
      disposeAdvertiserAfterTimeoutToFinishInvites(currentAdvertiser)
    }

                                    let relay = AdvertiserRelay(with: session, on: port)
                                    $0[newPeer.uuid] = relay
                                  }
                                },
                                sessionNotConnected: {
                                  [weak self] in
                                  guard let strongSelf = self else { return }
