add support of multithreading to dataengine (only for custom command
    now)