release

Releases the encoder. No more calls to encode will be made after this call.