better URB handling, cleaner exit