add close connection