fix 1015. move health check to other module to avoid import unneeded libraries