Fixes a close()+EINTR bug

close() shouldn't try to handle EINTR:
http://alobbs.com/post/54503240599/close-and-eintr