socketclient: Fix leak

https://bugzilla.gnome.org/show_bug.cgi?id=726611
gio: fix two more g_task_return_error_if_cancelled() leaks

https://bugzilla.gnome.org/show_bug.cgi?id=726611