There are several file descriptor leaks in the code which will be fixed with the following patch.
Created attachment 8584 [details]
Comment on attachment 8584 [details]
As I reviewed these patches already, ACK.
Karolin, please add to 4.0. Thanks!
Re-assigning to Karolin for inclusion in 4.0.next.
Pushed to autobuild-v4-0-test.
Pushed to v4-0-test.
Closing out bug report.