Set keep-alive timeout