pool: discard connection and log error when buffer has unread data.