added max buffer queue size at download class