Implemented multi-threading on Server side