fix keep-alive timer