Make the timeout a constant. Fix interruption logic and misspelling.