prevent lockups