wait state state freeze interrupt livelock interrupt request finite state machine lockout hang deadlock