Express middleware for performing health check ping on mongoose mongodb connection.