catch errors, changed open_order from dict to queue for Thread safeness