fix for BPMN-57
fix reconnect