This method is used to limit the concurrent http call to the max
fixed by maxThreadCount and to wait the end of the first call that
will return the session id.
The HttpServiceInvocationHandler is used to transmit the user request to the correct object which can
be the remote service in case of direct connection or the user session client
in case of Session connection.