Added thread creation to manage wl_service from gateway module