adds wrapper for close syscall with error handling

refactors kqueue event handler aio

check close return value

(0) -100 -30 -10 -3 +3 +10 +30 +100 +300 tip

mercurial