Test hanging behavior while running tests in linkmode=auto