Attempt to fix the reconnect error
temporary fix for reconnect issue