test: rate limiting and connection loss