Better SQLHandler thread safety.