Return an error exit status from client commands that fail