Add more error handling when reading from graphite server