Make the keepAliveTime configurable.