move the decoder to another thread

up