added emit(close) to brico.rmConnection