add debug printing and an additional try to the request to /proc