Added support for multithread web service