added debug message for keepalive