Flush the ProtocolLogger stream after each chunk