add interrupt CallBack function, and release handle at the end.