Make interrupt process synchronous to avoid latches