check mom port rather than check file to determine if a vm is ready