Hi Mark, Thanks for the review. I fixed the issues you pointed out (good catch re. setting rc before closing fd) and pushed as commit 8b568fdea8 with Tested-by: Milian Wolff <m...@milianw.de> added. Milian, thanks again for taking a look at this.
Aaron