Added backup on client for socket connections