cleanup localconnection