Thanks,

But I think there is a bug in ConnectionPolicy.setKeepAliveInterval.
It always throws an exception regardless of the value you pass in:
Code:
This is not a valid value for keepAliveMillis: 10000. Please use a positive number