remove } else { }

the if before returns, no need for nastnig
use uv_is_closing
flatten code
style fix
rename, saghuls suggestions
Use NULL instead of 0
80 chars80 chars80 chars80 chars80 chars80 chars80 chars80 chars