added ability to close all client on control-c from server