ensure fd is not leaked if task::spawn throws any exception
ensure fd is not leaked if task::spawn throws any exception

toffaletti/libten,toffaletti/libten,toffaletti/libten,toffaletti/libten,toffaletti/libten