Add some debugging for client crash.