Change to be: 
```C#
var keepAliveData = new KeepAliveData
{
	TimeoutWarning = TimeSpan.FromSeconds(0.5),
	Timeout = TimeSpan.FromSeconds(1)
};
```