providing hot config reload
close all connections before hot loading new config