Fixing serious errors in the client stress test