added keep-alive settings