core: Fix GLib error log terminates application
GLib's error level log terminates application, even though the function
is logging one and nothing says error is fatal to application. This
bullshit design is the root cause of app crashes when server closed a
connection.