dnet_client: Return non-zero code on fail
thread: Changed name pattern for threads

Added backend number to associated threads