avoid accidental hangs