KeepAlive parameter to struct