[FLINK-1038] remove false registry closing