set timeout in web server