Added check if client is connected before calling stream's EndRead