Read option for keepalive correctly.