possible fix for disconnect error