Better handling of interrupt exceptions.