Added CommCloseHandler to trigger close callbacks