Fix File descriptor leak related to GH-1324.
Bump version to 4.0.56, update changelog and contributors list