Improved handling of cancel_all_realtime_bars method.