add sleep in health check thread