fix a deadlock when interrupting