Ensure tow_event_loop_free() return code is -1 or 0.
Ensure tow_event_loop_free() return code is -1 or 0.

Don't use the result of uv_loop_close() as the return code, instead set
a flag if it fails and return either 0 or -1.

donmccaughey/towpath,donmccaughey/towpath