stalling detection works