libuv handles must be deallocated asynchronously

Fixes #659