I am afraid that I do not understand you. But I think I understand that you have 2 issues.
1st issue: some 'locking'/performance issue.
This I do not understand at all. Please detail and post an example/a 'test case'.
2nd issue: the URL cannot be found.
* Is the URL correct? Not literally mydomain.com what what it is?
* Can you access the tunneller from a browser using the same URL?