to make call remote thread optional