not setting stream/thread parameter in single-threaded mode