refactored some communication between demultiplexer actor and executor