[fabbione/kronosnet] 1f890b: [handle] fix fd leak and sock option settings