removed multithreading manager-worker engine and substituted by a much more simple single-threaded task