quick and dirty encoding off the main thread with ExecutorService