add timeout to ServerTest to avoid hanged test