audio2aac: error handling in the case that the encocer exits before the decoder