Service client class binds error handler on socket now. Before when cocaine-runtime crashes applications also sometimes finished incorrectly because networking library tried to call error handler (due to unexpectedly closed socket) but there was no error handler and it results in throwing of bad_function_call exception.