made mywebapp run in a named thread