Small refactor

Add improvements for clearly mysql service handle on the reference node