Fix to mysql agent to add current threads