fix deadlock issue in bandwidthRate option