changed keepalive timeout to 5 sec.