Wrap disconnect errors and allow reconnect