Adding running threads to mysql graphite plugin