Clear output buffer before invoking callbacks