Better handling of syncronous exceptions