Made remove_fd function remove single fd instead of by token