check to see if instance running