[sr-dev] git:master:24c4f357: ctl: safety check for closing fd