better error logging
renamed counter for noOfRequests