Added a returning queue from main to webservice thread. Not sure if this is the right solution to reply on incoming messages.