[2.3.x] + improve CloseReason and tests
[2.3.x] + fix the copyright