EBADF expected after revoke