Added internal queue of async encoding requests to provide simpler interface for
clients that need to encode multiple images without building a separate external queue