add timeout feature for server